package com.spring.cardapi.web.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.spring.membercardapi.web.model.*;
import com.sso.api.web.model.RequestUser;
import com.sso.api.web.model.SsoUser;

public interface CardApiService {
	Map<String, Object> getOrderList(String token, String orderID, String rechargecardID, 
			String membercardID, String page_size, String page_index, String skip, String rows)  throws Exception;
	Map<String, Object> getConsumeList(String token,String card_id,String page_size,
			String page_index,String skip,String rows)  throws Exception;

	 Map<String, Object> getPointBillList(String token,String page_size,
				String page_index,String skip,String rows) throws Exception;
	 
	 Map<String, Object> createCouponCode(String token) throws Exception;
	 Map<String, Object> getMyCouponList(String token,String isused) throws Exception;
	 
	 Map<String, Object> updatePoint(String c_user_id,String point_source_code,String change_point,
				String change_type_code,String desc) throws Exception;
	 Map<String, Object> addUser(RequestUser user,HttpServletRequest request) throws Exception;
	 Map<String, Object> insertContract(HashMap hm) throws Exception;
	 
	 Map<String, Object> insertFile(String fileList,String contractID) throws Exception;
	 
	// Map<String, Object> createStaffCard(String user_id,String kids_park_id,String name, String phone, String email, String desc, String identity_card)  throws Exception;
	 
	 Map<String, Object> createMemberNumber(String kids_park_id,String cardType,String MemberType)  throws Exception;
	// Map<String, Object> updateUserAddCard(SsoUser ssoUser) throws Exception;
}
